package cn.itcast.bos.service.base;/**
 * Created with IntelliJ IDEA.
 *
 * @Author: SOS
 * @Create: 2018-02-01 22:40
 */

import cn.itcast.bos.domain.base.FixedArea;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.domain.Specification;

import java.util.List;


/**
 * @program: ideabos2.0
 * @description: FixedArea业务层
 * @author: SOS
 * @create: 2018-02-01 22:40
 **/
public interface FixedAreaService {
    /**
     *
     * @param model
     */
    void save(FixedArea model);
    Page<FixedArea> findPageData(Specification specification,Pageable pageable);

    void associationCourierToFixedArea(FixedArea fixedArea, Integer courierId, Integer takeTimeId);

    List<FixedArea> findAll();
}
